package com.ordering.entity;

/**
 * 保存在会话中的用户信息
 * @author Administrator
 *
 */
public class UserInfo {
	
	/**
	 * 表示会员
	 */
	public static final String USER_ROLE_USER = "user";
	/**
	 * 表示管理员
	 */
	public static final String USER_ROLE_ADMIN = "admin";
	
	
	private Integer id;
	private String username = null;
	private String password = null;
	private String msisdn = null;
	//临时记录用户权限
	private String userRole = null;
	
	
	
	public String getUserRole() {
		return userRole;
	}
	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getMsisdn() {
		return msisdn;
	}
	public void setMsisdn(String msisdn) {
		this.msisdn = msisdn;
	}
	
}
